package interfaceusuario;

import java.awt.Color;

import javax.swing.JPanel;

public class CriaPainelDeFundoComBackground 
{
	private static CriaPainelDeFundoComBackground instanciaCriadorPainelDeFundo;
	
	private CriaPainelDeFundoComBackground ()
	{
		
	}
	
	public synchronized static CriaPainelDeFundoComBackground getInstance()
	{
		if(instanciaCriadorPainelDeFundo == null)
		{
			instanciaCriadorPainelDeFundo = new CriaPainelDeFundoComBackground();
		}
		
		return instanciaCriadorPainelDeFundo;
	}
	
	public JPanel criarPainelDeFundoPadraoDoSistema()
	{
		JPanel painelDeFundoPadrao = new JPanel();
		painelDeFundoPadrao.setBackground(new Color(60, 106, 44));
		return painelDeFundoPadrao;
	}

}
